<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Pike_Grid_Datasource_Interface</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Interface Pike_Grid_Datasource_Interface</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This interface should be implemented by datasources for usage in Pike_Grid</p>
		<p class="notes">
			Located in <a class="field" href="_Grid---Datasource---Interface.php.html">/Grid/Datasource/Interface.php</a> (line <span class="field"><a href="../__filesource/fsource_Pike__GridDatasourceInterface.php.html#a27">27</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																				
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getDefaultSorting" title="details" class="method-name">getDefaultSorting</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getJSON" title="details" class="method-name">getJSON</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setEventFilter" title="details" class="method-name">setEventFilter</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$function</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setEventSort" title="details" class="method-name">setEventSort</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$function</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setParameters" title="details" class="method-name">setParameters</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$params</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setResultsPerPage" title="details" class="method-name">setResultsPerPage</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$num</span>)
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodgetDefaultSorting" id="getDefaultSorting"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getDefaultSorting</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__GridDatasourceInterface.php.html#a37">37</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns an array indicating on which field and which order the grid is by default sorted on.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getDefaultSorting
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetJSON" id="getJSON"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getJSON</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__GridDatasourceInterface.php.html#a32">32</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getJSON
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsetEventFilter" id="setEventFilter"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setEventFilter</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__GridDatasourceInterface.php.html#a60">60</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Defines what happends when the user filters data with jqGrid and send to the server. Return</p>
<p class="description"><p>value depends on the type of datasource</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setEventFilter
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$function</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Closure</span>
				<span class="var-name">$function</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetEventSort" id="setEventSort"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setEventSort</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__GridDatasourceInterface.php.html#a54">54</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Defines what happends when the grid is sorted by the server. Return value depends on the  type of datasource.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setEventSort
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$function</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Closure</span>
				<span class="var-name">$function</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetParameters" id="setParameters"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setParameters</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__GridDatasourceInterface.php.html#a42">42</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the jqGrid posted params</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setParameters
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$params</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$params</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetResultsPerPage" id="setResultsPerPage"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setResultsPerPage</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__GridDatasourceInterface.php.html#a47">47</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Specifies how many data is returned per 'page'</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setResultsPerPage
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$num</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$num</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Thu, 15 Sep 2011 16:07:49 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>